
<h2 class="pagesubsectionheader">Related Documents</h2>
<?php
	global $brandtag;
	$brandtag = get_post_meta($post->ID, 'productbrand', true);
	$documents = new WP_Query('post_type=publication&tag='.$brandtag.'&posts_per_page=-1&orderby=menu_order'); ?>
    <ul>
	<?php while ($documents->have_posts()) : $documents->the_post(); ?>
		<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>   
    <?php endwhile ?>
    </ul>
<?php wp_reset_postdata(); ?>